project(example CXX)
cmake_minimum_required(VERSION 2.6)
include_directories(${CMAKE_BINARY_DIR} ${PROJECT_SOURCE_DIR})  
set(CMAKE_BUILD_TYPE "Debug")
set(CMAKE_EXE_LINKER_FLAGS "-l cppunit")
file(GLOB Library_HEADERS ../*.h)
file(GLOB Library_SEARCH ../*.cpp)
set(CORELIBS ${Library_SEARCH} ${Library_HEADERS})
file(GLOB HEADERS Test*.h)
file(GLOB SEARCH Test*.cpp)
set(CORETEST ${SEARCH} ${HEADERS})

add_executable(test main.cpp ${CORELIBS} ${CORETEST})

